package xyz.pro5books.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;


@Data
@Accessors(chain = true)
@TableName("user")
public class User extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    private String role;
    private String phone;
    private String headAddr;
    private Boolean downRight;
    private Boolean upRight;
    private Boolean banRight;
    private Date banTime;
    private Boolean online;
    private Integer downNum;
    private String diff;
    private String email;
}
